package com.example.datamaskingdemo.entity;

import com.example.datamaskingdemo.annotation.Desensitized;
import com.example.datamaskingdemo.enumType.SensitiveTypeEnum;
import lombok.Data;

/**
 * @author Ryan
 * @title: User
 * @projectName data-masking-demo
 * @description: TODO
 * @date 2020/7/1 0001 17:38
 */
@Data
public class User {
    private int id;

    private String name;

    @Desensitized(type = SensitiveTypeEnum.TELEPHONE)
    private String telephone;
}
